import { createApp } from 'vue'
import { createPinia } from 'pinia'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import './assets/styles/index.scss'
import App from './App.vue'
import router from './router'
import StatusTag from './components/StatusTag.vue'

const app = createApp(App)

// 全局注册状态标签组件
app.component('StatusTag', StatusTag)

app.use(createPinia())
app.use(ElementPlus)
app.use(router)

app.mount('#app')
